<?php $iduser = 10;?>
<input type="hidden" id="input_iduser" name="iduser" value="<?php echo $iduser;?>"/>
<div id="" class="wrapper">
		<div id="leftContent" class="floatLeft">

			<!-- <div id="" class="box">
				<h1 id="sht" class="ansq">Yeu thich<a href="#" title="" class="floatRight">áº¨n/Hiá»‡n</a></h1>

				<ul id="listOfQ" class="userLi">
					<li><img src="images/Imess.png" alt=""><a href="" title="">Tin nhan</a></li>
					<li><a href="" title="">Bang tin </a><span>34</span></li>
					<li><a href="" title="">Cau hoi</a></li>
					<li><a href="" title="">Ban be</a></li>
					<li><a href="" title="">Hoi nhom </a></li>
				</ul><!-- / LIST QUESTION
			</div><!-- / BOX -->
			
		<div class="box_user">
				<div class="userImageSmall"><img src="image/1.jpg"></div>
				<div class="mg_top_50">
					<ul>
						<li> <span class="text1">YÊU THÍCH</span>
							<ul class="mg-l10">
								<li class="text2"> <a href="#">Bảng tin</a></li>
								<li class="text2"> <a href="#">Tin nhắn</a></li>
								<li class="text2"> <a href="#">Câu hỏi của bạn</a></li>
								<li class="text2"> <a href="#">Tìm kiếm bạn bè</a></li>
							</ul>
						</li>
						<div class="bd_b1">&nbsp;</div>
						<li> <span class="text1">DANH SÁCH</span>
							<ul class="mg-l10">
								<li class="text2"> <a href="#">Gia đình</a></li>
								<li class="text2"> <a href="#">Bạn bè</a></li>
								<li class="text2"> <a href="#">Người thân</a></li>
								<li class="text2"> <a href="#">Người quen</a></li>
								<li class="text2"> <a href="#">Đang theo dõi</a></li>
								<li class="text2"> <a href="#">Được theo dõi</a></li>
							</ul>
						</li>
						<div class="bd_b1">&nbsp;</div>
						<li> <span class="text1">NHÓM</span>
							<ul class="mg-l10">
								<li class="text2"> <a href="#">Tạo nhóm</a></li>
							</ul>
						</li>
						

					</ul>
				</div>
			</div>	
			
		</div><!-- / LEFT CONTENT-->
		<div id="container">
		<div id="centerContent" class="floatLeft">
	
		
			<div id="" class="box">
				<ul id="" class="Seditor">
					<li><img src="images/writeQ.jpg" alt=""><a href="" title="">Viet cau hoi</a></li>
					<li><img src="images/writeS.jpg" alt=""><a href="#" title="">Cap nhat trang thai</a></li>
					<div id="" class="clear"></div><!-- / -->
				</ul><!-- / -->
				<div id="" class="LEditor">
					<div id="" class="topEdit2"></div><!-- / -->
						<!--Hoan dang lam -->
						
					<textarea class="my val_textarea_status" type="text" placeholder="Bạn đang nghĩ gì?" 
						rows=1 style="height:auto" id="post_new_status" 
						onfocus="show_text_area_status({idn:this.id,classShow:'postsbottom'})" 
						onkeyup="auto_grow_area3(this.id)"></textarea>
			
			<div class="postsbottom" style="display:none">					
			
				
					<div id="" class="opEditor">
					<select  id="select_cat" name="categories_cha" onchange="return catelogy_select_text({id:'select_cat_parent' , parent:this.value})" >
						<option value="0">Chọn loại câu hỏi</option>
						<?php
						$Listscate = $this->Listscate;
							/*
							echo "<pre>";
							print_r($Listscate);
							echo "</pre>";
							*/
						foreach ($Listscate AS $cate)
						{						
							echo "<option value='$cate[ID]'>$cate[category_name]</option>";
						}
						?>
						<option value="-1">Xem tất cả</option>
					</select>
						
					<span id="select_cat_parent">
						<select  name="categories_con">
						<option value="0">Chọn Danh mục câu hỏi</option>
						</select>
					</span>
								
					
					</div><!-- / -->
					
					<input type="submit" value="Chia sẽ" class="buttonStatus" />		
			</div>
			
			<!--
			<div id="uiComposerMessageBoxControls" class="clearfix uiComposerMessageBoxControls">
				<div class="lfloat">
					<div class="pls textBlurb fsm fwn fcg"></div>
					<div class="attachmentBarArea">
						<a href="#"></a>
						<span id="composerTourLocation" class="ComposerCitySharer placeCityIcon uiComposerTagControls">
						<a id="usuxdm_16" href="#" class="cityLink">
							<span class="placeIconImage"></span>
							<span class="cityName"></span>
						</a>
					<a> xoa</a>
						<input type="hidden" id="usuxdm_18" name="composertags_city" autocomplete="off">
						<input type="hidden" id="usuxdm_19" value="false" name="disable_location_sharing" autocomplete="off"></span>
					</div>
				</div>
				<ul class="uiList uiListHorizontal clearfix uiComposerBarRightArea rfloat">
				<li data-gt="{&quot;composer&quot;:{&quot;comp&quot;:&quot;audience&quot;,&quot;ua_id&quot;:&quot;composer:post&quot;}}" id="composerTourAudience" class="privacyWidget uiListItem  uiListHorizontalItemBorder uiListHorizontalItem"><div data-referrer="pagelet_privacy_widget" id="pagelet_privacy_widget"><div class="composerAudienceWrapper stat_elem widget composerAudienceWrapper"><div data-name="audience[0][value]" class="uiSelector inlineBlock audienceSelector composerAudienceSelector audienceSelectorNoTruncate dynamicIconSelector uiSelectorRight uiSelectorNormal uiSelectorDynamicLabel uiSelectorDynamicTooltip"><div class="wrap"><a rel="toggle" aria-label="Post Privacy Setting: Công khai" data-ariaprefix="Post Privacy Setting" data-length="30" data-label="" aria-expanded="false" aria-haspopup="1" role="button" href="#" class="uiSelectorButton uiButton uiButtonSuppressed" data-tooltip-alignh="right" title="Công khai" data-hover="tooltip"><i class="mrs defaultIcon customimg img sp_6cw9kx sx_311d9d"></i><span class="uiButtonText">Công khai</span></a><div class="uiSelectorMenuWrapper uiToggleFlyout"><div class="uiMenu uiSelectorMenu" role="menu"><ul class="uiMenuInner"><li data-label="Công khai" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption checked"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%2280%22%7D%5D" rel="async-post" aria-checked="true" href="#" tabindex="0" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_311d9d"></i><span class="itemLabel fsm">Công khai</span></a></li><li id="ust3m3_186" data-label="Bạn Bè" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%2240%22%7D%5D" rel="async-post" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_2a36c0"></i><span class="itemLabel fsm">Bạn Bè<span class="plusLabel hidden_elem fcg"> (+)</span></span></a></li><li data-label="Bạn bè ngoại trừ người quen" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22127%22%7D%5D" rel="async-post" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_2e10d2"></i><span class="itemLabel fsm">Bạn bè ngoại trừ người quen</span></a></li><li id="ust3m3_187" data-label="Chỉ mình tôi" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%2210%22%7D%5D" rel="async-post" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_dc1f3f"></i><span class="itemLabel fsm">Chỉ mình tôi<span class="plusLabel hidden_elem fcg"> (+)</span></span></a></li><li id="ust3m3_185" data-label="Tùy Chỉnh" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption"><a aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_d54c16"></i><span class="itemLabel fsm">Tùy Chỉnh<span class="customPrivacyInputs"></span></span></a></li><li class="uiMenuSeparator"></li><li id="ust3m3_188" data-label="Bạn thân" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption primaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22165739006845460%22%7D%5D" rel="async-post" data-flid="165739006845460" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_12e384"></i><span class="itemLabel fsm">Bạn thân</span></a></li><li id="ust3m3_183" data-label="DS_DThem" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption primaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22318358151583544%22%7D%5D" rel="async-post" data-flid="318358151583544" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_8f9de6"></i><span class="itemLabel fsm">DS_DThem</span></a></li><li data-label="Xem tất cả các danh sách..." class="uiMenuItem uiMenuItemRadio uiSelectorOption moreOption specialOption"><a data-type="friendList" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor"><span class="itemLabel fsm">Xem tất cả các danh sách...</span></a></li><li id="ust3m3_190" data-label="115" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22245172228902137%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="245172228902137" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">115</span></a></li><li id="ust3m3_191" data-label="Đại học Văn Hiến" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22184060908346603%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="184060908346603" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">Đại học Văn Hiến</span></a></li><li id="ust3m3_192" data-label="Gia đình" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22181254545293906%22%7D%5D" rel="async-post" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_503547"></i><span class="itemLabel fsm">Gia đình</span></a></li><li id="ust3m3_193" data-label="an" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22115701321849229%22%7D%5D" rel="async-post" data-flid="115701321849229" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_8f9de6"></i><span class="itemLabel fsm">an</span></a></li><li id="ust3m3_194" data-label="guiiucau" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22293042270781799%22%7D%5D" rel="async-post" data-flid="293042270781799" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_8f9de6"></i><span class="itemLabel fsm">guiiucau</span></a></li><li id="ust3m3_195" data-label="Đại Học Đồng Nai" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22292566080829418%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="292566080829418" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">Đại Học Đồng Nai</span></a></li><li id="ust3m3_196" data-label="trung cap duoc" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22292563297496363%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="292563297496363" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">trung cap duoc</span></a></li><li id="ust3m3_197" data-label="THPT Phu Ngoc" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22292563294163030%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="292563294163030" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">THPT Phu Ngoc</span></a></li><li id="ust3m3_198" data-label="cao dang nghe so 8" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22268199646599395%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="268199646599395" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">cao dang nghe so 8</span></a></li><li id="ust3m3_199" data-label="dinh quan" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22268199649932728%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="268199649932728" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">dinh quan</span></a></li><li id="ust3m3_200" data-label="THPT Chuyên ban Tân Phú" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22246011175484909%22%7D%5D" rel="async-post" data-dynamic="1" data-flid="246011175484909" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_084355"></i><span class="itemLabel fsm">THPT Chuyên ban Tân Phú</span></a></li><li id="ust3m3_201" data-label="Người quen" class="uiMenuItem uiMenuItemRadio uiSelectorOption fbPrivacyAudienceSelectorOption friendListOption specialOption secondaryOption"><a ajaxify="/ajax/privacy/simple_save.php?id=0&amp;audience_json=%5B%7B%22value%22%3A%22181254541960573%22%7D%5D" rel="async-post" data-flid="181254541960573" aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor itemWithIcon"><i class="mrs itemIcon img sp_6cw9kx sx_993b8e"></i><span class="itemLabel fsm">Người quen</span></a></li><li class="uiMenuSeparator secondaryOption"></li><li data-label="Quay lại" class="uiMenuItem uiMenuItemRadio uiSelectorOption returnOption secondaryOption specialOption"><a aria-checked="false" href="#" tabindex="-1" role="menuitemradio" class="itemAnchor"><span class="itemLabel fsm">Quay lại</span></a></li></ul></div></div></div><select name="audience[0][value]"><option value=""></option><option selected="1" value="80">Công khai</option><option value="40">Bạn Bè</option><option value="127">Bạn bè ngoại trừ người quen</option><option value="10">Chỉ mình tôi</option><option value="111">Tùy Chỉnh</option><option value="165739006845460">Bạn thân</option><option value="318358151583544">DS_DThem</option><option value="Xem tất cả các danh sách...">Xem tất cả các danh sách...</option><option value="245172228902137">115</option><option value="184060908346603">Đại học Văn Hiến</option><option value="181254545293906">Gia đình</option><option value="115701321849229">an</option><option value="293042270781799">guiiucau</option><option value="292566080829418">Đại Học Đồng Nai</option><option value="292563297496363">trung cap duoc</option><option value="292563294163030">THPT Phu Ngoc</option><option value="268199646599395">cao dang nghe so 8</option><option value="268199649932728">dinh quan</option><option value="246011175484909">THPT Chuyên ban Tân Phú</option><option value="181254541960573">Người quen</option><option value="Quay lại">Quay lại</option></select></div></div></div></li><li class="pls uiListItem  uiListHorizontalItemBorder uiListHorizontalItem"><label for="ust3m3_29" class="submitBtn uiButton uiButtonConfirm"><input type="submit" id="ust3m3_29" value="Đăng"></label></li></ul></div>
		
		-->
		
		
		<!--ENd dang lam -->
		
				
				</div><!-- / -->
			</div><!-- / BOX-->

			<div id="" class="box">
				

				<?php
				
				
				$detais = $this->post['row'];
				$thaoluan = $this->post['rowparent'];
				$userlike = $this->post['userlike'];
				
				foreach ($detais AS $k => $detai)
				{
				$songuoilike = count($userlike[$k]);
				
				?>
						
						
						<div id="" class="listPost">
					<img src="images/ava.jpg" alt="">
					<h1><a href="" title="">le huy truyen</a> - <?php echo $detai['post_datetime']; ?></h1>
					<p>
						<?php echo $detai['post_content']; ?>
					</p>

					<div id="" class="onComment">
						<a href="javascript:none" onclick="document.getElementById('comment_<?php echo  $detai['ID']; ?>').style.display='inline-block';document.getElementById('<?php echo  $detai['ID']; ?>').focus();return false;">BÃ¬nh luáº­n</a>

					<span id="like_1_<?php echo  $detai['ID']; ?>" >
						<a href="javascript:none"  onclick="return ajlikes('1','<?php echo $detai['ID']?>',2,'<?php echo $detai['like_status']?>','<?php echo $songuoilike ?>')" title=""><?php echo $detai['like']?></a>
					</span>
					
					<?php
					if($songuoilike >= 1)
						{					
							$ds_userlike = '';
							foreach($userlike[$k] AS $userlikes)
							{
							$ds_userlike .= $userlikes['user_name'];
							$ds_userlike .= " ,";
							}
							//echo $ds_userlike ;
							
						}
					?>
				<?php
				if($detai['like_status'] != NULL )
				{
					echo "<span id='youlike1$detai[ID]'>Báº¡n</span>";
				}
				else
				{
					echo "<span id='youlike1$detai[ID]'></span>";
				}
				?>
				
					
				<?php
				
				
				if($songuoilike != 0 && $detai['like_status'] != NULL)
				{
					echo "<span id='youlikeand1$detai[ID]'> vÃ  </span>";
				}
				else
				{
					echo "<span id='youlikeand1$detai[ID]'></span>";
				}
				
				if($songuoilike != 0 )
				{					
					echo "<a onclick=\"return alert('$ds_userlike')\">".$songuoilike." NgÆ°á»�i khÃ¡c </a>";
				}
				
				if($songuoilike != 0 || $detai['like_status'] != NULL)
				{
					echo "<span id='thichdieunay1$detai[ID]'>thÃ­ch Ä‘iá»�u nÃ y.</span>";				
				}
				else
				{
					echo "<span id='thichdieunay1$detai[ID]'></span>";		
				}
					
						
						foreach ($thaoluan[$k] as $tl )
						{						
						
						
						$songuoilikecomment = count($tl['userlike']);
						
						if($songuoilikecomment >= 1)
						{				
							$ds_userlike = '';
							foreach($tl['userlike'] AS $userlikes)
							{
							$ds_userlike .= $userlikes['user_name'];
							$ds_userlike .= " ,";
							}
						//	echo $ds_userlike ;
						
						}					
						
				?>

							
						
						<div id="" class="replyList">
							<img src="images/ava.jpg" alt="">
							<h1>
								<a href="" title=""><?php echo $tl['user_name']; ?></a> - <?php echo $tl['comment_postdate']; ?> ' 
									
								<span id="like_2_<?php echo  $tl['ID']; ?>" >
									<a href="javascript:none"  onclick="return ajlikes('2','<?php echo $tl['ID']?>',2,'<?php echo $tl['like_status']?>','<?php echo $songuoilikecomment ?>')" title=""><?php echo $tl['like']; ?></a>
								</span>
							
			
				<?php
				if($tl['like_status'] != NULL )
				{
					echo "<span id='youlike2$tl[ID]'>Báº¡n</span>";
				}
				else
				{
					echo "<span id='youlike2$tl[ID]'></span>";
				}
				?>
				
					
				<?php
				
				
				if($songuoilikecomment != 0 && $tl['like_status'] != NULL)
				{
					echo "<span id='youlikeand2$tl[ID]'> vÃ  </span>";
				}
				else
				{
					echo "<span id='youlikeand2$tl[ID]'></span>";
				}
				
				if($songuoilikecomment != 0 )
				{	
					echo "<a onclick=\"return alert('$ds_userlike')\">".$songuoilikecomment." NgÆ°á»�i khÃ¡c </a>";
				}
				
				if($songuoilikecomment != 0 || $tl['like_status'] != NULL)
				{
					echo "<span id='thichdieunay2$tl[ID]'>thÃ­ch Ä‘iá»�u nÃ y.</span>";				
				}
				else
				{
					echo "<span id='thichdieunay2$tl[ID]'></span>";		
				}
				?>
		
							
							
							</h1>
					
						
				
					
							<p>
								<?php echo $tl['comment_content']; ?>
							</p>
							<p class="clear"></p>
						</div><!-- / -->
						
					
					
						
				<?php
						}					
				?>
				<div id="new<?php echo $detai['ID']?>" ></div>
				<div id="comment_<?php echo $detai['ID']?>" >

				<?php
				// TODO: lay userid tu sestion
				$userid =5;
				?>
				<textarea class="binhluanArea" style="width: 437px; height: 17px;" id="<?php echo $detai['ID']?>" onfocus="return add_comment_text({id:'<?php echo  $detai['ID'] ?>', author:'<?php echo  $userid ?>'})"  placeholder="Viết bình luận..."  autocomplete="off" ></textarea>

				</div>
				<!--
				<textarea></textarea>
				-->
					</div><!-- / -->
					<div id="" class="clear"></div><!-- / -->
				</div><!-- / -->
						
				<?php
}
?>				
						
				
		

		
			</div><!-- / -->

		</div><!-- / CENTER CONTENT-->

		<div id="rightContent" class="floatRight">
			<div id="" class="quickPost">
				<ul id="" class="">
					<li class="quickMenu"><a href="" title="">Quick menu</a></li>
					<li class="addNews"><a href="" title="">Ä�Äƒng tin</a></li>
				</ul><!-- / -->
				<ul id="" class="menuLeft">
					<li><a href="" title="">Thá»�i trang</a>

						<div id="" class="subMenuFirst">
							<ul id="" class="">
								<li><a href="" title="">Title 1</a></li>
								<li><a href="" title="">Title 2</a></li>
								<li><a href="" title="">Title 3</a></li>
								<li><a href="" title="">Title 4</a></li>
							</ul><!-- / -->
						</div><!-- / Sub menu-->

					</li>
					<li><a href="" title="">Má»¹ pháº©m</a>

						<div id="" class="subMenuFirst">
							<ul id="" class="">
								<li><a href="" title="">Title 1</a></li>
								<li><a href="" title="">Title 2</a></li>
								<li><a href="" title="">Title 3</a></li>
								<li><a href="" title="">Title 4</a></li>
							</ul><!-- / -->
						</div><!-- / Sub menu-->

					</li>
					<li><a href="" title="">Ä�iá»‡n mÃ¡y</a></li>
					<li><a href="" title="">MÃ¡y tÃ­nh-laptop</a></li>
					<li><a href="" title="">Viá»‡c lÃ m</a></li>
					<li><a href="" title="">Kiáº¿n thá»©c</a></li>
					<li><a href="" title="">Luáº­t</a></li>
					<li><a href="" title="">Sá»©c khá»�e</a></li>
					<li><a href="" title="">Du lá»‹ch</a></li>
					<li><a href="" title="">Dá»‹ch vá»¥</a></li>
					<li><a href="" title="">Giáº£i trÃ­</a></li>
					<li><a href="" title="">Ná»™i ngoáº¡i tháº¥t</a></li>
					<li><a href="" title="">CÃ´ng nghiá»‡p xÃ¢y dá»±ng</a></li>
				</ul><!-- / UL MENU-->
				<div class="clear"></div>
			</div><!-- / QUICK POST-->

			<div id="" class="box">
				<h1 class="adsT">Quáº£ng cÃ¡o <a href="" class="floatRight" title="">Ä�áº·t quáº£ng cÃ¡o</a></h1>
				
				<div id="" class="adsList">
					<h1><a href="" title="">Van Nguyen added a new photo</a></h1>
					<a href="" title=""><img src="http://kenh14.vcmedia.vn/zoom/120_75/zlA5ccccccccccccRby50VYME6hBz/Image/2012/04/120226starcllanh77703fAV_b7ff7.jpg" class="floatLeft" alt=""></a>
					<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
					<h2>Dang boi: <a href="" title="">Minh Man</a></h2>
				</div><!-- / ADS LIST-->
				<div id="" class="adsList">
					<h1><a href="" title="">Van Nguyen added a new photo</a></h1>
					<a href="" title=""><img src="http://kenh14.vcmedia.vn/zoom/120_75/zlA5ccccccccccccRby50VYME6hBz/Image/2012/04/120226starcllanh77703fAV_b7ff7.jpg" class="floatLeft" alt=""></a>
					<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
					<h2>Dang boi: <a href="" title="">Minh Man</a></h2>
				</div><!-- / ADS LIST-->
				
			</div><!-- / -->

			<div id="" class="box">
				<h1 class="adsT">Co the ban quen <a href="#" class="floatRight" title="">Xem tat ca</a></h1>

				<div id="" class="friend">
					<img src="images/ava.jpg" alt="">
					<h1>Your friend name</h1>
					<h2>10 ban chung</h2>
					<h3><img src="images/addF.jpg" alt=""><a href="javascript:;" onclick="addfriend('1',<?php echo $iduser;?>)">Them ban</a></h3>
				</div><!-- / -->
				<div id="" class="friend">
					<img src="images/ava.jpg" alt="">
					<h1>Your friend name</h1>
					<h2>10 ban chung</h2>
					<h3><img src="images/addF.jpg" alt=""><a href="javascript:;" onclick="addfriend('2',<?php echo $iduser;?>)">Them ban</a></h3>
				</div><!-- / -->
				<div id="" class="friend">
					<img src="images/ava.jpg" alt="">
					<h1>Your friend name</h1>
					<h2>10 ban chung</h2>
					<h3><img src="images/addF.jpg" alt=""><a href="javascript:;" onclick="addfriend('3',<?php echo $iduser;?>)">Them ban</a></h3>
				</div><!-- / -->
				<div id="" class="friend">
					<img src="images/ava.jpg" alt="">
					<h1>Your friend name</h1>
					<h2>10 ban chung</h2>
					<h3><img src="images/addF.jpg" alt=""><a href="javascript:;" onclick="addfriend('4',<?php echo $iduser;?>)">Them ban</a></h3>
				</div><!-- / -->
				<div id="" class="friend">
					<img src="images/ava.jpg" alt="">
					<h1>Your friend name</h1>
					<h2>10 ban chung</h2>
					<h3><img src="images/addF.jpg" alt=""><a href="javascript:;" onclick="addfriend('5',<?php echo $iduser;?>)">Them ban</a></h3>
				</div><!-- / -->
				<div id="" class="friend">
					<img src="images/ava.jpg" alt="">
					<h1>Your friend name</h1>
					<h2>10 ban chung</h2>
					<h3><img src="images/addF.jpg" alt=""><a href="javascript:;" onclick="addfriend('6',<?php echo $iduser;?>)">Them ban</a></h3>
				</div><!-- / -->
			</div><!-- / -->
		</div><!-- / RIGHT CONTENT-->
		</div>
		<div id="" class="clear"></div><!-- / -->
	</div><!-- / -->

	